<template>
	<el-main>
		<el-card class="box-card">
			<div class="clearfix">
				
			</div>
			<div class="chart-box">
				<scEcharts height="100%" :option="option"></scEcharts>
			</div>
		</el-card>
	</el-main>
</template>

<script>
import option  from "./echats-options";
import scEcharts from '@/components/scEcharts'
export default {
	name: "dashboard",
	components: {
		scEcharts
	},
	data() {
		return {
			weather: null,
			option: option
		}
	},
	async created() {
		// this.weather = await this.$API.demo.weather.get({city_name:'北京'})
	},
	mounted() {
		console.log(this.option);
	},
	methods: {
		onMounted() {

		}
	}
}
</script>

<style>
.chart-box{
	height: 500px;

}
</style>
